home *** CD-ROM | disk | FTP | other *** search
/ Delphi Informant Complete 1995 - 2000 / Delphi Informant Complete 1995 to 2000.iso / Delphi Informant Magazine Complete Works SOURCE CODE 1998.rar / 1998 / May / di9805fn / SetDelim.pas < prev    next >
Pascal/Delphi Source File  |  1997-12-14  |  612b  |  37 lines

  1. unit SetDelim;
  2. {Dialog Box to Set Delimiters}
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, Buttons;
  8.  
  9. type
  10.   TSetDelims = class(TForm)
  11.     Label1: TLabel;
  12.     StartEdit: TEdit;
  13.     Label2: TLabel;
  14.     EndEdit: TEdit;
  15.     BitBtn1: TBitBtn;
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.     function Execute: boolean;
  21.   end;
  22.  
  23. var
  24.   SetDelims: TSetDelims;
  25.  
  26. implementation
  27.  
  28. {$R *.DFM}
  29.  
  30. function TSetDelims.Execute: boolean;
  31. begin
  32.  { ShowModal; }
  33.   Result := (ModalResult = mrOK); 
  34. end;
  35.  
  36. end.
  37.